package com.yssoft.entity.purchase;

import com.yssoft.entity.CommonEntity;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * t_purchase_att  采购单附件
 * @author 
 */
@Table(name="t_purchase_att")
public class TPurchaseAtt extends CommonEntity {
    @Id
    private Integer id;

    /**
     * 附件原图
     */
    private String attImg;

    /**
     * 附件缩略图
     */
    private String attTimg;

    /**
     * 附件类型（见码表）
     */
    private String type;

    /**
     * 采购单id（多对一）
     */
    private Integer tPId;

    /**
     * 企业id
     */
    private Integer tEId;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAttImg() {
        return attImg;
    }

    public void setAttImg(String attImg) {
        this.attImg = attImg;
    }

    public String getAttTimg() {
        return attTimg;
    }

    public void setAttTimg(String attTimg) {
        this.attTimg = attTimg;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer gettPId() {
        return tPId;
    }

    public void settPId(Integer tPId) {
        this.tPId = tPId;
    }
    
    public Integer gettEId() {
        return tEId;
    }

    public void settEId(Integer tEId) {
        this.tEId = tEId;
    }
}